package com.gitee.qdbp.general.system.web.shiro.simple;

import com.gitee.qdbp.able.exception.ServiceException;
import com.gitee.qdbp.base.system.model.IAccount;

public interface OnAuthEventHandler {

    /** 登录成功之后的处理 **/
    default void onAuthenticatedSuccess(IAccount user) throws ServiceException {
    }

    /** 授权成功之后的处理 **/
    default void onAuthorizeSuccess(IAccount user) throws ServiceException {
    }
}
